package team.jaman.autosell.entity;

import java.io.Serializable;
/**
 * 订单详情实体类
 * @author Administrator
 *
 */
public class Orderdetail implements Serializable {
	
    // 订单详情编号
    private Integer orderdetailId;

    // 订单编号
    private String orderId;

    // 商品编号
    private Integer productId;

    // 商品数量
    private Integer productCount;

    // serialVersionUID
    private static final long serialVersionUID = 1L;
    
    // 商品实体类
    private Product product;

    /**
	 * @return the product
	 */
	public Product getProduct() {
		return product;
	}

	/**
	 * @param product the product to set
	 */
	public void setProduct(Product product) {
		this.product = product;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetail.orderdetail_id
     *
     * @return the value of orderdetail.orderdetail_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public Integer getOrderdetailId() {
        return orderdetailId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetail.orderdetail_id
     *
     * @param orderdetailId the value for orderdetail.orderdetail_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public void setOrderdetailId(Integer orderdetailId) {
        this.orderdetailId = orderdetailId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetail.order_id
     *
     * @return the value of orderdetail.order_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetail.order_id
     *
     * @param orderId the value for orderdetail.order_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetail.product_id
     *
     * @return the value of orderdetail.product_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetail.product_id
     *
     * @param productId the value for orderdetail.product_id
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column orderdetail.product_count
     *
     * @return the value of orderdetail.product_count
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public Integer getProductCount() {
        return productCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column orderdetail.product_count
     *
     * @param productCount the value for orderdetail.product_count
     *
     * @mbg.generated Tue Jun 16 10:44:18 CST 2020
     */
    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }
}